package com.itheima.pattern.decorator;


/**
 * 具体构件角色
 */
public class FriedNoodies extends FastFood {

    public FriedNoodies(){
        super(12,"炒面");
    }

    @Override
    public float cost() {
        return getPrice();
    }

}
